-- GENERATED SPELL FOR [Raven's Wood Leafbeard] --


function spell0_21326(pUnit, Event) --@Force of Nature,Self--
pUnit:FullCastSpellOnTarget(37696,pUnit)
pUnit:RegisterEvent('Sorts_21326', 572, 1)
end

function Sorts_21326(pUnit, Event)
local choix_sorts_21326 = math.random(0, 0)
if choix_sorts_21326 == 0 then
pUnit:RegisterEvent('spell0_21326', 1, 1)
end
end

function mob21326_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21326', math.random(1500, 3000), 1)
end

function mob21326_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21326_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21326_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21326, 1, 'mob21326_Action')
RegisterUnitEvent(21326, 2, 'mob21326_Leave')
RegisterUnitEvent(21326, 3, 'mob21326_Kill')
RegisterUnitEvent(21326, 4, 'mob21326_Die')
